/*
 * ConstructorAspect.aj author: Daniel Rudigier date: 09.12.2008
 */

/**
 * @author Daniel Rudigier
 */
public aspect ConstructorAspect {
    pointcut contructorExec(): 
        execution(*.*.new(..)) &&  !within(ConstructorAspect);

    after() : contructorExec(){
        System.out.println("Constructor executed: ");
    }
}